Siel\Acumulus\Invoice\FlattenerInvoiceLines S

Total Complexity 47
Dependencies 6
Dependents 2
Total lines 542
Lines of code 189
Logical lines of code 112
Comment lines 304
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
copyVatInfoToChildren()
A
49 7 34
flattenInvoiceLines()
S
55 5 21
copyVatInfoToParent()
S
55 5 20
keepSeparateLines()
S
57 5 16
getAppearingVatRates()
S
60 4 14
correctInfoBetweenParentAndChildren()
S
62 3 11
keepChildrenAndPriceOnParentAndChildren()
S
69 3 6
removePriceInfoFromChildren()
S
63 2 11
getMergedLinesText()
S
66 2 8
collectInfoFromChildren()
S
63 2 10
indentDescription()
S
67 2 8
removePriceInfoFromParent()
S
66 1 9
__construct()
S
81 1 3
keepChildrenAndPriceOnParentPlusChildren()
S
91 1 2
complete()
S
77 1 4
keepChildrenAndPriceOnChildrenOnly()
S
76 1 4
keepChildrenAndPriceOnParentOnly()
S
76 1 4
haveSameVatRate()
S
75 1 4